function render(){
	//alert('started');
	var json = {
		'id':'hello1',
		'name':'helloName1',
		'data':{'maa':'bhagwan', 'baap':'bhagwan'},
		'children':[]
	};
	//alert(json.id);
	//alert(json.name);
	//alert(json.data);
	var canvas = new Canvas('canname', {
			'injectInto':'pane',
			'width':900,
			'height':500
			
	});
	var st = new ST(canvas, {
			Node: {color:'#aaccbb'},
			Edge: {color:'#ccb'},
			onCreateLabel: function(label, node) {  
		             label.id = node.id;  
             		     label.innerHTML = node.name;  
		             label.onclick = function(){  
			     	alert(node.id);
                 	     	st.onClick(node.id);  
             		     };  
         		},
 			onBeforePlotNode: function(node) {  
             			if (node.selected) {  
                 			node.data.$color = "#ff7";  
             			} else {  
                 			delete node.data.$color;  
             			}  
         		}
	});

	st.loadJSON(json);
	st.compute();
	st.onClick(st.root)
}
